// 用户注册
// 调用数据库
const usersDB = require('../../libraryDB/users')
const { app } = require('../utils/request')
const userRegistrationReq = async (req, res) => {
  // 从请求体中获取提交的数据
  const data = req.body
  const dataRes = await usersDB.userRegistration({ ...data })
  res.json({ ...dataRes })
}
module.exports = { userRegistrationReq }
